/*    */ package com.zimbra.cs.ldap.unboundid;
/*    */ 
/*    */ import com.unboundid.ldap.sdk.SearchScope;
/*    */ import com.zimbra.cs.ldap.ZSearchScope;
/*    */ import com.zimbra.cs.ldap.ZSearchScope.ZSearchScopeFactory;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class UBIDSearchScope
/*    */   extends ZSearchScope
/*    */ {
/*    */   private final SearchScope searchScope;
/*    */   
/*    */   private UBIDSearchScope(SearchScope searchScope)
/*    */   {
/* 28 */     this.searchScope = searchScope;
/*    */   }
/*    */   
/*    */   SearchScope getNative() {
/* 32 */     return this.searchScope;
/*    */   }
/*    */   
/*    */   public static class UBIDSearchScopeFactory extends ZSearchScope.ZSearchScopeFactory
/*    */   {
/*    */     protected ZSearchScope getBaseSearchScope() {
/* 38 */       return new UBIDSearchScope(SearchScope.BASE, null);
/*    */     }
/*    */     
/*    */     protected ZSearchScope getOnelevelSearchScope()
/*    */     {
/* 43 */       return new UBIDSearchScope(SearchScope.ONE, null);
/*    */     }
/*    */     
/*    */     protected ZSearchScope getSubtreeSearchScope()
/*    */     {
/* 48 */       return new UBIDSearchScope(SearchScope.SUB, null);
/*    */     }
/*    */     
/*    */     protected ZSearchScope getChildrenSearchScope()
/*    */     {
/* 53 */       return new UBIDSearchScope(SearchScope.SUBORDINATE_SUBTREE, null);
/*    */     }
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/ldap/unboundid/UBIDSearchScope.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */